package dao;

import entity.Result;
import entity.Subject;

import java.util.List;

/**
 * @Author:SA
 * @DATA:DATA
 */


public interface ResultDao {
    Subject selectByName(String subName);

    int addResult(String stuId, long subjectId, double result);

    List<Result> selectAll(String subname);
}
